package com.example.web.controller;

import com.example.server.apis.TestServiceApis;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ProjectName: mcroservices
 * @Author: 86977
 * @Description: ${description}
 * @Date: 2021/6/22 18:01
 * @Version: 1.0
 */
@RestController
@RequestMapping("/test")
public class TestWebController {
  @Autowired
  private TestServiceApis testServiceApis;



  @RequestMapping("/getTest")
  public String getTest(){
    return testServiceApis.get("通过web调用的");
  }

}
